package com.hornsun.domain.dbo;

import java.util.Date;

public class MemberCoupon {
    private String memberCouponGuid;

    private String openid;

    private String couponGuid;

    private Date gainTime;

    private Date expirationTime;

    private Date payTime;

    private String orderNum;

    public String getMemberCouponGuid() {
        return memberCouponGuid;
    }

    public void setMemberCouponGuid(String memberCouponGuid) {
        this.memberCouponGuid = memberCouponGuid == null ? null : memberCouponGuid.trim();
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getCouponGuid() {
        return couponGuid;
    }

    public void setCouponGuid(String couponGuid) {
        this.couponGuid = couponGuid == null ? null : couponGuid.trim();
    }

    public Date getGainTime() {
        return gainTime;
    }

    public void setGainTime(Date gainTime) {
        this.gainTime = gainTime;
    }

    public Date getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(Date expirationTime) {
        this.expirationTime = expirationTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum == null ? null : orderNum.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", memberCouponGuid=").append(memberCouponGuid);
        sb.append(", openid=").append(openid);
        sb.append(", couponGuid=").append(couponGuid);
        sb.append(", gainTime=").append(gainTime);
        sb.append(", expirationTime=").append(expirationTime);
        sb.append(", payTime=").append(payTime);
        sb.append(", orderNum=").append(orderNum);
        sb.append("]");
        return sb.toString();
    }
}